package com.ruoyi.college.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构分类可用角色对象 lab_org_kind_rel_roles
 * 
 * @author winner pan
 * @date 2022-02-13
 */
public class LabOrgKindRelRoles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构分类关联角色ID */
    private Long orgKindRelRolesId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long orgKindId;

    /** 是否必选 */
    @Excel(name = "是否必选")
    private Long requiredOpt;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;
    
    private Long[] roleIds;
    

    public Long[] getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(Long[] roleIds) {
		this.roleIds = roleIds;
	}

	public void setOrgKindRelRolesId(Long orgKindRelRolesId) 
    {
        this.orgKindRelRolesId = orgKindRelRolesId;
    }

    public Long getOrgKindRelRolesId() 
    {
        return orgKindRelRolesId;
    }
    public void setOrgKindId(Long orgKindId) 
    {
        this.orgKindId = orgKindId;
    }

    public Long getOrgKindId() 
    {
        return orgKindId;
    }
    public void setRequiredOpt(Long requiredOpt) 
    {
        this.requiredOpt = requiredOpt;
    }

    public Long getRequiredOpt() 
    {
        return requiredOpt;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgKindRelRolesId", getOrgKindRelRolesId())
            .append("orgKindId", getOrgKindId())
            .append("requiredOpt", getRequiredOpt())
            .append("roleId", getRoleId())
            .toString();
    }
}
